package cn.gwm.flink.streaming.ods.model;

/**
 * 车型编码对应关系
 * @ClassName Model
 * @Author xzh
 * @Date 2022/11/1 9:42
 **/
public enum ModelCanEnum {

    ES13("芭蕾猫","es13Can", "ods_can_status_es13"),
    EC24("闪电猫","ec24Can", "ods_can_status_ec24"),
    ES24("朋克猫","es24Can", "ods_can_status_es24"),
    V71_PHEV("V71 PHEV", "v71_phevCan", "ods_can_status_v71"),
    B01_PHEV("第三代H6 PHEV", "b01_phevCan", "ods_can_status_b01"),
    B07_PHEV("枭龙MAX", "b07_phevCan", "ods_can_status_b07"),
    C01_PHEV("C01 DHT-PHEV", "c01_dhtCan", "ods_can_status_c01"),
    ES11("ES11", "es11Can", "ods_can_status_es11"),
    P03_PHEV("坦克500PHEV", "p03_phevCan", "ods_can_status_p03");

    /**
     * 车型名称
     **/
    private String modelName;
    /**
     * 车型名称对应编码值
     **/
    private String value;
    /**
     * kafka分流topic
     **/
    private String topic;



    ModelCanEnum(String modelName, String value, String topic) {
        this.modelName = modelName;
        this.value = value;
        this.topic = topic;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }
}
